import yagmail
def send_mail(file):
    youjian=yagmail.SMTP(user="166213731@qq.com",password="jsjqzhaulsgpcbaf",host="smtp.qq.com",encoding="utf-8")
    youjian.send(to="166213731@qq.com",subject="测试报告",contents="维度电商系统商品评论接口测试报告",attachments=file)
